﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Up:YDYPFATHER , InterfaceUSB
    {
        private string name;
        public string Name { get; set; }
        public Up(string brand,string name) : base(brand)
        {
            this.name = name;
        }
        public  void read()
        {
            Console.WriteLine("{0}的{1}在读取数据", base.Brand, this.name);
        }
        public  void write()
        {
            Console.WriteLine("{0}的{1}在写入数据", base.Brand, this.name);
        }
    }
}
